package com.bwie.service.impl;

import com.bwie.bean.Acc;
import com.bwie.dao.AccDao;
import com.bwie.service.AccService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class AccServiceImpl implements AccService {

    @Resource
    private AccDao accDao;

    @Override
    public List list(Map map) {
        return accDao.list(map);
    }

    @Override
    public int dels(String aids) {
        return accDao.dels(aids);
    }

    @Override
    public int add(Acc acc) {
        return accDao.add(acc);
    }
}












